import request from "@/utils/request"

export const upload = (formData: any) => {
  return request({
    method: 'post',
    url: '/file/upload',
    headers: {
      'Content-Type': 'multipart/form-data'
    },
    data: formData
  })
}